import string
标点符号:
string.punctuation
字母表:
print string.letters
print string.ascii_letters
小写和大写:
print string.ascii_lowercase
print string.lowercase
print string.ascii_uppercase
print string.uppercase
print string.lower
数字:
string.digits
16 进制数字:
string.hexdigits
每个单词的首字符大写:
string.capwords("this is a big world")
将指定的单词放到中央:
string.center("test", 20)